package com.lll.nettywebsocket.repository;

import org.yeauty.pojo.Session;

import java.util.List;

public interface WebsocketSessionRepository {

    void addSession(Session session);

    List<String> fetchAllCids();

    List<Session> findSession(String cid);

    List<Session> findAllSessions();

    void removeSession(Session session);
}
